cmake_minimum_required(VERSION 2.8.12)

project(Util LANGUAGES C CXX)




add_library(uhp_util SHARED
    autolock.cpp
    fasterjson.c
    fasterhttp.c
    list.c
    LOG.c
    LOGS.c
    threadpool.c
    uhp_util.c
)


target_include_directories(uhp_util PUBLIC ${PROJECT_ROOT_DIR}/src/util )
target_link_libraries(uhp_util PRIVATE ssl z)
install(TARGETS uhp_util  DESTINATION lib)
